package com.ruoyi.system.service;

import java.util.List;
import com.ruoyi.system.domain.SuperCouponReceive;

/**
 * 用户优惠券记录:记录优惠券发放/领取记录 Service接口
 * 
 * @author ruoyi
 * @date 2025-08-13
 */
public interface ISuperCouponReceiveService 
{
    public SuperCouponReceive selectSuperCouponReceiveById(Long id);

    public List<SuperCouponReceive> selectSuperCouponReceiveList(SuperCouponReceive superCouponReceive);

    /**
     * 统计用户可用优惠券数量（未使用、未删除、优惠券未删除）
     * @param userId 用户ID
     * @return 数量
     */
    public int countUserAvailableCoupons(Long userId);

    public int insertSuperCouponReceive(SuperCouponReceive superCouponReceive);

    public int updateSuperCouponReceive(SuperCouponReceive superCouponReceive);

    public int deleteSuperCouponReceiveByIds(Long[] ids);

    public int deleteSuperCouponReceiveById(Long id);
}
